package com.guiji.text2video.fastvideo.domain.vo;

import java.util.ArrayList;

/**
 * @Description  nlp返回json结果中的句子类
 * @Author zxt
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2021/4/9 15:37
 */
public class NlpSentence {
    private String sent;
    private ArrayList<String> keywords;
    private ArrayList<String> alternative;
    private ArrayList<Video> videoId;
    private String match;
    private ArrayList<String> firstImgId;

    public ArrayList<String> getSentList() {
        return sentList;
    }

    public void setSentList(ArrayList<String> sentList) {
        this.sentList = sentList;
    }

    private ArrayList<String> sentList;

    public String getSent() {
        return sent;
    }

    public void setSent(String sent) {
        this.sent = sent;
    }

    public ArrayList<String> getKeywords() {
        return keywords;
    }

    public void setKeywords(ArrayList<String> keywords) {
        this.keywords = keywords;
    }

    public ArrayList<String> getAlternative() {
        return alternative;
    }

    public void setAlternative(ArrayList<String> alternative) {
        this.alternative = alternative;
    }

    public ArrayList<Video> getVideoId() {
        return videoId;
    }

    public void setVideoId(ArrayList<Video> videoId) {
        this.videoId = videoId;
    }

    public String getMatch() {
        return match;
    }

    public void setMatch(String match) {
        this.match = match;
    }

    public ArrayList<String> getFirstImgId() {
        return firstImgId;
    }

    public void setFirstImgId(ArrayList<String> firstImgId) {
        this.firstImgId = firstImgId;
    }

    @Override
    public String toString() {
        return "Sent{" +
                "sent='" + sent + '\'' +
                ", keywords=" + keywords +
                ", alternative=" + alternative +
                ", videoId=" + videoId +
                ", match='" + match + '\'' +
                ", firstImgId=" + firstImgId +
                '}';
    }

    public class Video {
        private String url;
        private Double duration;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public Double getDuration() {
            return duration;
        }

        public void setDuration(Double duration) {
            this.duration = duration;
        }
    }

}